package cn.pzhu.controller.web;

import cn.pzhu.controller.BaseController;
import cn.pzhu.model.Expert;
import cn.pzhu.model.User;
import cn.pzhu.services.web.WebExpertServices;
import cn.pzhu.services.web.WebOrderServices;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * Created by dongp on 2016/5/10.
 */
public class WebExpertController extends BaseController {

	private WebExpertServices webExpertServices = new WebExpertServices();

	public void queryExpert() {
		List<Expert>  experts = webExpertServices.queryExpert(getRequest());
		setAttr("experts",experts);
		render("experts/expert.jsp");
	}
}
